#ifndef __SYS_HELPER_H
#define __SYS_HELPER_H

#include <string>
#include <list>


class CSysHelper
{

public:
    static bool GetShellReturn(const std::string &strCmd, std::string &strReturn);
    static int UtcStrTime2LocalStrTime(const char *utcStr,const char *format,char * locStr,int locStrSize);
    static int UtcTmTime2LocalTmTime(struct tm *pUtcTm,struct tm *pLocTm);

    static void Struct2ConstChar();

    static int Ipv4Addr2Uint32(char ipAddrStr[]);

    static bool GetPathFileLists(const std::string path,const std::list<std::string> lists);
    static bool ParseFloatStr(const std::string& strOriginNumber, std::string& strResultNumber);

};




#endif